package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Strategy;
import cn.wolfcode.trip.base.domain.StrategyContent;
import cn.wolfcode.trip.base.domain.StrategyDetail;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IStrategyDetailService {
    int deleteByPrimaryKey(Long id);


    StrategyDetail selectByPrimaryKey(Long id);

    List<StrategyDetail> selectAll();

    void saveOrUpdate(StrategyDetail strategyDetail);

    PageInfo getList(QueryObject qo);

    Strategy getStrategyByStrategyDetailId(Long strategyDetailId);

    StrategyContent getContentByStrategyDetailId(Long detailId);

    List<StrategyDetail> getDetailsBycatalogId(Long id);

}
